﻿<!DOCTYPE html>
<html>
    <head>
        <title>Fourth Coffee - @PageData["Title"]</title>
        <link rel="shortcut icon" href="@Href("~/favicon.ico")" />
        <link rel="stylesheet" href="@Href("~/Site.css")" type="text/css"/>        
        
        <!-- START QuickEdit Headers -->
        @QuickEdit.GetHeaderHtml()
        <!-- END QuickEdit Headers -->
    </head>
    <body>
        <!-- Layout: Header -->
        <div id="header" class="group">
            <div id="logindisplay">               
               @if (WebSecurity.IsAuthenticated) {
                   <span>Welcome <b><a href="@Href("~/Account/ChangePassword")">@WebSecurity.CurrentUserName</a></b>!
                   [ <a href="@Href("~/Account/Logout")">Logout</a> ]</span>
               } else {
                   <span>[ <a href="@Href("~/Account/Login")">Login</a> | <a href="@Href("Account/Register")">Register</a> ]</span>
               }
            </div>
            <ul id="menu" class="group">
                <li>
                    <a href="@Href("~/")">Home</a>
                </li>
                <li>
                    <a href="@Href("~/Products")">Our Products</a>
                </li>
                <li>
                    <a href="@Href("~/About")">About Us</a>
                </li>
            </ul>
        </div>
        <!-- Layout: Body -->
        <div id="main" class="group">
            @RenderBody()
        </div>
        <!-- Layout: Footer -->
        <div id="footer" class="group">
            <ul id="alt-menu">
                <li>&copy;@DateTime.Now.Year - Fourth Coffee</li>
                <li>
                    <a href="@Href("~/Default")">Home</a>
                </li>
                <li>
                    <a href="@Href("~/Products")">Our Products</a>
                </li>
                <li>
                    <a href="@Href("~/About")">About Us</a>
                </li>        
            </ul>
        </div>
    </body>
</html>